package com.atguigu.yygh.hosp.client;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2023/1/6 - 10:22
 * @Author: Hyoung
 * @Description:
 */

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 排班信息API接口
 */
@FeignClient("service-hosp")
public interface ScheduleFeignClient {

    /**
     * 根据排班id获取预约下单数据
     *
     * @param scheduleId
     * @return
     */
    @GetMapping("inner/hosp/hospital/getScheduleOrderVo/{scheduleId}")
    ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);
}